#ifndef BREAKPOINTTABLE_H
#define BREAKPOINTTABLE_H

#include <QObject>
#include <QSet>

class BreakPointTable : public QObject
{
    Q_OBJECT
public:
    virtual ~BreakPointTable();
    //
    void addBreakPoint(quint32 address);
    void removeBreakPont(quint32 address);
    bool containsBreakPoint(quint32 address) const;
    //
    static BreakPointTable* getInstance(QObject* parent = 0);

private:
    BreakPointTable(QObject *parent = 0);

private:
    static BreakPointTable* table;
    QSet<quint32> breakpoints;
};

#endif // BREAKPOINTTABLE_H
